'use strict';

/**
 * @ngdoc function
 * @name jgappApp.controller:AdministratorAdminTzfwCtrl
 * @description
 * # AdministratorAdminTzfwCtrl
 * Controller of the jgappApp
 */
angular.module('jgappApp')
    .controller('AdministratorAdminTzfwCtrl', function($scope, $rootScope) {
        // 底部款项类型选框添加
        $scope.sheetObj = {};
        $scope.sheetObj.sheettitle = "关联文件"
        $scope.sheetObj.selectTab = ""
        $scope.sheetObj.selectTabContent = ""
        $scope.sheetObj.tabList = [{
            title: "往来"
        }, {
            title: "收入"
        }, {
            title: "分公司收款"
        }];
        $scope.showSheet = function() {
            $scope.sheetObj.ifshowSheet = true
            $rootScope.showMasker = true
        };
        // 底部付款方式选框添加
        $scope.paywayObj = {};
        $scope.paywayObj.sheettitle = "报销类型"
        $scope.paywayObj.selectTab = ""
        $scope.paywayObj.selectTabContent = ""
        $scope.paywayObj.tabList = [{
            title: "往来aa"
        }, {
            title: "收入aa"
        }, {
            title: "分公司收款aa"
        }];

        $scope.showSheet1 = function() {
            $scope.paywayObj.ifshowSheet = true
            $rootScope.showMasker = true
        };

        $scope.users = [1, 2, 3, 4, 5, 6, 7, 8];
    });
